<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>支付密码</title>
<link rel="stylesheet" href="${cxt }/css/yk_base.css" />
<link rel="stylesheet" href="${cxt }/css/yk_myCenter_message.css" />
<link href="${cxt }/css/yk_myCenter_payment.css" rel="stylesheet"/>
<script type="text/javascript" src="${cxt }/js/jquery-3.2.1.js"></script>
<script type="text/javascript">
	/* function getYZM(){
		$.ajax({
			type:"get",
			url:"yzm",
			data:"num="+$("#tel").val(),
			success:function(e){
				//重新设置验证码
				$("#num").val(e);
				$("input[name=yzm1]").val(e);
			}
		});
	} */
	function update(){ 
		var passwords = $("#passwords").val();
		$("input[name=passwords]").val(passwords);
		var passwordAgains = $("#passwordAgains").val();
		$("input[name=passwordAgains]").val(passwordAgains);
		$("#password").submit();
	} 
</script>
</head>
<body>
<form action="${cxt }/userview/myCenter/payment" method="post" id="password">
	<div style="width: 100%;background: #F2F3F5;;">
			<div class="message">
				<div class="zc_ipttitle_bd">
					<h2>设置支付密码</h2>
					<div id="setupPaymentPassword">
						<ul>
							<li>
								<label class="fl">请确认您的手机号</label>
								<span class="fl fc_93 f14" id="xmobile">${message.user_telphone}
									<a href="${cxt }/userview/myCenter/message" target="iframe-a">修改</a>
								</span>
								
							</li>
							<li class="v_code">
								<label class="fl">短信验证码</label>
								<span class="fl">
									<div class="dy_code">
										<a href="javascsript:void(0)" class="get_code" id="getYzmBtn">获取验证码</a>
										<input class="t_val" type="text" id="validateCode" placeholder="手机动态码" maxlength="6"/>
									</div>
								</span>
							</li>
							<li>
								<label class="fl">支付密码</label>
								<span class="fl">
									<input class="zc-ipt ipt-passwordS" type="password"  placeholder="请输入6位数字作为支付密码" id="passwords"/>
									<input type="hidden" name="passwords">
								</span>
							</li>
							<li>
									<label class="fl">确认支付密码</label>
								<span class="fl">
									<input class="zc-ipt ipt-passwordS" type="password"  placeholder="再次输入密码" id="passwordAgains"/>
									<input type="hidden" name="passwordAgains">
								</span>
							</li>
						</ul>
						<div class="graybutbox">
							<input class="zc_orange_bigsub" id="zcsave" onclick="update()" value="保存">
							${password1}
							${password2}
							${password3}
							${password4}
						</div>
					</div>
				</div>
			</div>
		</div>
	</form>
</body>
</html>